cmake_minimum_required(VERSION 3.16.3)
project(Cpp)
set(CMAKE_CXX_STANDARD 14)

add_executable(Cpp1 learn_one/learn_one.cpp)
add_executable(Cpp1p learn_one/learn_one_p.cpp)
add_executable(Cpp2 learn_two/learn_two.cpp)
add_executable(Cpp3 learn_three/learn_three.cpp)
add_executable(Cpp3f learn_three/learn_func.cpp)
add_executable(Cpp3c learn_three/learn_class.cpp)
add_executable(Cpp3i learn_three/class_init.cpp)
add_executable(Cpp3p learn_three/class_copy.cpp)
add_executable(Cpp3l learn_three/class_initList.cpp)
add_executable(Cpp3s learn_three/class_static.cpp)
add_executable(Cpp3t learn_three/class_this.cpp)
add_executable(Cpp3n learn_three/class_null.cpp)
add_executable(Cpp3y learn_three/class_friend.cpp)
add_executable(Cpp3o learn_three/class_overload.cpp)
add_executable(Cpp3in learn_three/class_inherit.cpp)
add_executable(Cpp3pp learn_three/class_polymorphism.cpp)
add_executable(Cpp3ppc learn_three/class_calculator.cpp)
add_executable(Cpp3ppm learn_three/class_makedrink.cpp)
add_executable(Cpp3ppcp learn_three/class_computer.cpp)
add_executable(Cpp3file learn_three/file.cpp)
add_executable(Cpp4main learn_four/emsystem.cpp
                        learn_four/workerManager.cpp
                        learn_four/employee.cpp
                        learn_four/manager.cpp
                        learn_four/boss.cpp)

add_executable(Cpptest learn_four/test.cpp)
